Adds hashmap example, and a few fixes