Renamed $n to $width - Readability!
Add whitespace & a handy comment
Re-add the AWOL loop limiters