Fix copy/pasting errors

Lot of errors in the code - m1a was being used for every motor pin, which is clearly wrong. Plus some of the opening parts are in the wrong order for the beginner.