Adding some documentation to the code and making small adjustments in the program's behaviour.
Fixing my stupid compilation mistakes found on the last version.