     function [ Stack ]=Push( Stack , Element )
       if Stack.StackSize==Stack.MaxSize
         % Full
         error('Stack: The stack is full');
       else
         Stack.StackSize=Stack.StackSize+1;
         Stack.Elements{ Stack.StackSize }=Element;
       end
     end