changed input/output streams to buffered reader/print writer, added
StringUtility class