Applied OOP to create Person, Author, and Grocery classes