java hangul checking program