Write a shell script according to following conditions.
1) Take two files as input and run spell command on it.
2) Collect a list of potential spelling errors.
3) Show the user each word from the list, letting the user to enter the correction for that word or accept that word as it is.
4) Finally modify the original files with corrected spellings.