OR Course assignment solution