added train routine, with as many of the parameters as I could remember
Merge branch 'master' of github.com:stuycs-softdev/mini-projects