Fix #8 - for loop expects 11 iterations

Changed to expect 10 iterations. Uses `<` as opposed to `<=` since `<` is used much more often.