wrote funtion to get all course info and edited uniique courses to be in alpabetical order