fixes bug with text input, changes source from argv to user input
Merge branch 'master' of https://github.com/jiang271/cs190lab6