Added a function to get the otucomes for each semester