Print a class hierarchy