New functionalities for Lolo.java

Added pickUpMaterial() and a few other encapsulated functions that will be called from Board.java when the game works properly.