finished example of StringCharacters.java