updated hw0.cpp: now able to run multiple commands from single input and able to run variable inputs