Refine code of findL in SearchingRotatedArray