completed basic ANN (todo: backpropagation)