A java program that sets up primary users arrival and secondary users arrival and work on spectrum allocation