Solved
The for loop begins from j=1 not 0:

Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
The for loop begins from j=1 not 0:

Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.