Autonomous driving function.

Added an autonomous driving function for back and forth motion. Uses
degrees.