#3 Correspond to input csv format
#3 Refactoring
Merge pull request #7 from tadashi-aikawa/#3-csv

#3 fix