Hash error-checking (ref #4)

Added error checking for hash-table:
1. Check if hash-table literal has an even number of elements
2. Check if hash-table literal has repeated keys
Talked about it int #4.