Algorithm For Inventive Problem Solving