ai logic; view logic; main application
subtract 1 for proper index
fix in input at line 31; narrative
Merge pull request #2 from ntbnnt/console-application

Console application