Stack Push And Pop Using Array In Latex