An Autonomous Intelligent tool for Problem Solving in Programming