Changed the upper and lower implementation on the courses page so that
we are using the iterator pattern.