added attr_accessor for hungry
Merge pull request #2 from ShirleyS/testBranch

added attr_accessor for hungry