C: Home work #1. For loop in C