public int peek()
        {
            StackWithBottom <int> stack = getLastStack();

            if (stack != null)
            {
                return(stack.peek());
            }
            else
            {
                throw new NullReferenceException();
            }
        }