fcfs working.the problem was in enqueue function - need to update the tail!