AP courses let students stretch minds, earn college credit