mlfq working for inputs 1 and 2