Solution file for cat.
Added a macro to define the length of the line to read in from the file. Also, the perror() function is used for error handling.