Implemented the cat command.