Lego RCX Simulator in Java