private string checkUniqueName(string name)
        {
            SchoolClass c             = new SchoolClass();
            ArrayList   allClassNames = c.readClassNames();
            string      nameOut       = name;

            for (int i = 0; i < allClassNames.Count; i++)
            {
                string testName = allClassNames[i].ToString();
                if (name.Length != 7)//default name length will always be 7, if longer then there are dupelicates
                {
                    string indicator = name.Substring(name.Length - 1, 1);
                    int    endNum    = Convert.ToInt32(indicator);
                    endNum = endNum + 1;

                    nameOut = name.Substring(0, 7) + endNum.ToString();
                }
                else if (name == testName)
                {
                    name = name + "1";
                    checkUniqueName(name);
                }
            }

            return(nameOut);
        }//end of Check