Added support for turning left and right to perform_commands.