Finished printer simulation assignment.