Created method for deleting a student