Fixed some bugs, now will run.  Added more input checks.  Added README and .gitignore so hopefully this doesn't mess up the project on your end.