add pretty print for lab7