Add function to process the command cat
Fix the error of the strcmp function