Autoencoder Neural Network Python From Scratch