Code for performing round robin scheduling with OSP2.  Code written in java.