added print function, header | now adding tests