console and GPL

Add initConsole to have a console window where you can printf and scanf,
good for Unix fans.
Put the code under GPL.