02/26/2014: Updated main file. Main now checks file errors and command input errors and calls textToBinary and binaryToText functions.