finished hw1 through hashes