I just need to increment j in the i loop. Ifell kind of dumb after seeing this answer, but that is whatlearning is all about!