Created the tile class and declared esential methods, variables and a
constructer