Simple example implementing SOLID principles with Python