Hash error

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