finish stacked autoencoder exercise