Simple exercise for working with objects and methods