add analyze function
fix comments
Merge pull request #35 from 1000ch/dev

add analyze function
refactoring
Merge pull request #37 from 1000ch/dev

refactoring
remove duplicated variable
add comments
fix variable name
Merge branch 'dev'

* dev:
  fix variable name
  add comments
  remove duplicated variable
  refactoring
  fix comments
  add analyze function