A simple neural network implementation in Dart