Neural network builder, plus simple predict code with tests.