Added comments in code
Removed unused Hash class