Completed StringProcessor.java