First Index with bigger neighbors of elem -My Code