Added getters and setters for the Tile class

Always use them, even when they seem unnecessary. In the end it will make code more robust and easy to manipulate.