have a working print function and plot function with tests; need to add more tests for plotting