RIver Crossing Problem in AI