Exercises on Composition vs Inheritance:
1  Exercise: The Point and Line Classes