Implemented execute-command for lab 1b