Autoencoder using neural net from practice.py. Function to visualize result