finished hash exercise, all specs pass