SJF calculations and FCFS fix on queue.size error