Wrote method to get neighbor tiles