Changed Grade.java from marks array to marks ArrayList