Succinct Representation of Trees and Graphs