Implemented error check for fork()
Created function that reads && and replaces it with white space
'&&' and '||' behave exactly like ';'