Improved adding major

No duplicate major names allowed