MNIST Hand-written Digit Data Reconstruction and Generation with Bernoulli Restricted Boltzmann Machine