Add more print features to tree, vector and matrix