started code for input file instead of commandline text
fixing merge stuff
allows for a text file input
added input text file