Converted map from vector of int to type TILE_TYPE like prof asked.