Avoid for loop initial declarations
Set project up to use c99 dialect
Add types.h
Merge pull request #4 from mzry1992/master

Enable c99