Rearranges the code and adds another attempt at the neural network code.