Accessors and Contructor for Pacman object

Stored in a new file objects.cpp.