Added IdeaJ to gitingore
Fixed hash implementation and updated tests