fix data structure
Merge pull request #30 from fredcallaway/master

change gitignore and fix data structure