Hash Usage And Implementation In Python