added init_platform.c and .h file
updated main.c with this new functionality
PE with Critical section now;
updated gitignore
Merge branch 'master' of https://github.com/chregubr85/42