int update(int increment)
Write the current look of the progressbar to stdout.
the number of increments closer to completion since last call
the length (in characters) of the line with the progressbar