Problem solving is a measure of intelligence