number guessing app based on Brown's Criterion