defined EncodedDCMotor functions, but still figuring out the best way to implement them