Add first occurrence in sorted list problem

Find the first occurrence in a sorted list.