added pre-req checking in add course