Add inheritance and friendship chapter