fun little practice from Code Academy on object orientated programming