Added accessor functions for the pile class; temporarily commented out all other methods to finally define the interface.