added grocery class prototype (can change name later if so desired) with get and set functions for all variables