* rewritten to work in Java 5 and with 2 motors