Ceiling and floor binary search utils

Implementation of floor and ceiling for lists based on
Collections.binarySearch().