Exercise: Write a guess my number game
Added arc4random() % 10+1; to generate a better pseudorandom number.

Thanks to charlesmfrantz discovery that Ray Wenderlich's site uses arc4random()