Simple exercise of prototype inheritance