add implementation of Comparator interface to compare the Student entities based on the student's mark