Solved percentOfStudents
Added sumArray function