public void AddAt(int index, NodeString dataToAdd)
        {
            int count = 0;
            Node currNode = top;
            Node toAdd = new Node(dataToAdd);

            while (currNode != null && count < index)
            {
                count++;
                currNode = currNode.GetNext();
            }

            if (currNode != null && count == index - 1)
            {
                if (currNode.GetNext() != null)
                {
                    toAdd.SetNext(currNode.GetNext());
                    currNode.SetNext(toAdd);
                }
                else
                {
                    currNode.SetNext(toAdd);
                    last = toAdd;
                }
                size++;
            }
        }
        public void AddNode(NodeString dataToAdd)
        {
            Node toAdd = new Node(dataToAdd);

            if (top == null)
            {
                top = toAdd;
                last = toAdd;
            }
            else
            {
                toAdd.SetNext(top);

                top = toAdd;
            }
            size++;
        }