This method should find the courses common in the following users and compute for the common courses. This can be done in different degree.
By degrees, I am referring to how many users have in common. If all the users doesn't have in common, then you try to find the second most popular courses