Script changes to generate integer array, store, write, and delete using localStorage.