The code can now control 3 motorss independently