FCFS and Round Robin Scheduling Implementation in Java