in here, this would be step, step, and quit, and we're using the method pop(0) to return the first element of the command list and at the same time also to remove the first element from the commands list.