finished coding example of StringTokening.java