update with correct function name for generating a file
fix off by one error for selecting problem prompt
Merge pull request #8 from jrhdoty/master

Fix off by one error for selecting prompt