Created GetSearchArray()

Purpose:

To make the size of the main subroutine smaller and give a more clear description of what specifically does. It also allows for modification and reuse if needed.