Added Check if string has unique characters  code in Java