Exercise: number guessing in sub