fixed, debugged, workng code for brakes, flippers, and 'peter'