Legendre's Theorem on Ternary Quadratic Forms