Trex Company interview question

Create a generic shape library in Python