hw1 update: student class

adding some print statements to demonstrate the hash and sort
functionality.
Found way to generate hash on one line