Fixed Lifo to Fifo
Better printouts