Q had noticed the young man (well he says young man as though he's older, himself, but there you are) taptapping away at his laptop for quite sometime. Curiosity had gotten the better of him and he'd glanced over the stranger's shoulder to see what he was doing.
It's code. Hundreds of lines of decently complicated code. Not expert, by any means, but not awful.
It's just there's so much of it, and most of it seems needless.