Implemented progress bar and fixed cross platform compiling.
Off by one fixed
Merge pull request #2 from thijser/feature-progress_bar

Rendering progress bar in console implemented