Moving show function of CPD to show.jl. Third time's the charm