Added 2 Things

Added T.error and fixed issue with "cat input.txt | version1"