Updated NNBot

And the learning algorithm using it