How to control multiple DC motors with encoders