ex17-extra-credits: stack(array)