Modified Command, created executeCommand method

I modified the Command class, I also added the calls to the methods
setCommand & executeCommand in Main()