Added Printer, and implemented stack and queue