Changed variable name

Changed int J to int currentNumber to describe that it is the current number we are working with