Both loops work fine for me. From where are you running this code?
On Wed, Aug 20, 2014 at 4:24 PM, All Rights Released <
I pressed "Ctrl+Enter" with the cursor next to the last "}".
Are you selecting the entire code when you run it?
On Wed, Aug 20, 2014 at 4:34 PM, All Rights Released <
I didn't select the code. That's why!