Implemented hash creator. Added tests for hash creator.