Problem Solving and Computational Thinking in a Learning Environment