The students threw a sex party after they had studied well