Problem Solving: A Logical and Creative Approach