Create tabStringpublic.java

This is the same file as tabString.java but with all public methods so that they could be tested.