prob2 gets as far as posible without AStar