Find First Repeated Character In A String Java