Python OOP demonstration from Spring '14 CS192 class