Added accessors for cell type
Added cell adjacency checking
Added some AI code