Restricted Boltzmann Machine and Deep Belief Network Implementation. Uses MNIST dataset as a demo.