byte of python - inheritance toy program