public void printin(String s){
  writer.print(SPACES.substring(0,indent));
  writer.print(s);
}

public void printin ( String s ) { writer . print ( SPACES . substring ( 0 , indent ) ) ; writer . print ( s ) ; }
prints the current indention , followed by the given string
