Find First Repeating Element In Array