Created Util Class, updates to search

Util Class contains single method to check if an array is sorted.
Membership class now explicitly handles sorted and unsorted arrays.