Updated hw0.cpp: allows for more command input cases
Updated hw0.cpp: changed main method of parsing commands
Updated hw0.cpp: added the exit command
Updated hw0.cpp: fixed '||' command bugs
added && and || logic