Finished Program, semi-checked with test.txt

Next up: Error Handling