Well, you set line to 1, then you say "while (11 < line)". Last time I looked, 11 wasn't less than 1. I wouldn't start, either.