Added code for executing the rest of the instructions