Changed the get student method

Changed from linked list return to student return.