Added toString override to Major