Merge pull request #1 from ikawaha/develop

Develop
update
tiny refactoring
added hash code for equality check
removed unnecessary codes
changed equality check of states