Altered getAllStudents to take an argument. If a classID of 0 is passed then all students are returned. If anything other than 0 is passed then the function returns students for the corresponding classID.