Replaced StringBuffer with StringBuilder

Issue #2