Added train.py which trains off of some documents which can be inputted via command line argument or piped in and outputs a theta vector stdout