safe_gets passed all tests
finished safe_gets by adding Readme.md
applied astyle to safe_gets sources, found and fixed compilation worning