How can principles from computer science be useful in studying cognitive processes within psychology?