Implement the occupation of tiles. close #14

#14