Two sum problem hashing version implementation