On a Method of Courant for Minimizing Functionals