Added compiler flag t oforce c99
Added a simpler example