Find Duplicate Character In String In Java