ai notes: Maze example for search part 2