[Queue] Formatting & parameter

Changed parameter from pair to float x,y
Few formatting changes