Verification for room and course sizes added

Added a verification if two courses can be swapped based on the rooms
sizes and numbers of enrolled students