Write a Prolog program to find out all of the students who have at least two courses together. Populate your database (Prolog file) with at least 10 students and 5 classes so that there is at least 3 students enrolled in each class.