Removed while(flag =0). Made the PCB structs floating point.