I nested the for loops like this and it does work but the verifier doesn't like it. Can anyone help me clean it up?