Added type inference to for loop variable.
Added basic for loop C generator output.