What happens if you simplify main so that it just calls SuNN with a fixed value, e.g.
int main()
  return 0;
You might need to double-check the syntax of a for loop in your course notes. Your choice of expressions around the semicolons doesn't make a lot of sense currently.
i_s_a_a_c like this