Practicing the principle of inheritance with Point, Square, and Cube classes.