using rods for problem solving