Implementation of Searching for a Range