Finished overloaded rotateMotor Sparki function.