A learning example for CS students at Foothill College