rcpp_cell_from_xy function

Get cell number