Attempts at example code for deep autoencoder