Finding starting position of a target value in a sorted array with duplicates. Helps solving the leetcode problem: Find First and Last Position of Element in Sorted Array