working on printing
added my copy of writer class