Added cell edges

Updated the path finding to find path around impassable edges.