Simple neural networks project with learning algorithm