Workaround for deprecated gets()

gets() is used a lot in ancien learning material for C. That said, it is unsafe and therefore removed in recent C versions. A simple #define can bring it back rather securely.