Added Robot class, moved code from StartingClass to Robot.