Update

Hi osm0sis,
I updated and corrected a little bit the code for this tool. Now it compiles without any error both in linux and windows, and works as well.