Move for loop var initialization into the for statement
Made the code prettier but its still C so what can you do
for loop vars get destroyed after the for loop, you can reuse the variable name