fix regenerate_db and newline issue
Merge pull request #2 from dis-/fix_database

database.ccの修正