Simple Hashing Program In Python