Moved code from Komodo Edit to WebStorm.
Cleaned up code after opening project in WebStorm.
Code fully functional except for Locate function
Tasks on the ToDo list include:
(1) Test with blank array and
(2) add code for find.