Changed c snippet

* declaring a variable inside the foor loop can be done just on C99
  so changing the "for" snippet to not do that
* make a "fori" snippet that declare an int var inside the for loop
* make a snippet for "while" loop