Simple Neural Network Code