Create Sear.cppchforaRange

one time searching for leftmost position, another loop searching for rightmost position, then you'll get the right answer. Be cautious not to get stuck in forever loop.