minor changes to neuralnetwork.py
tried elman neural network