lab 2 printstream, mapprintstream