Simple first problem. Variable declaration, usage of if and for control statments