Updated FCFS.java and sim.java

FCFS can now deal with process switches and idle time. sim can now read
command line arguments correctly.