Changed the grade essays method and the submit_essay grades methods by following good oo principles.