Robot code for Rambot in java