IF, WHILE implemented. Error: if variable is not initialized and the calculation of the expression.