added a notebook for RBMs and DBNs

Added a [notebook](http://nbviewer.ipython.org/gist/khalednasr/2ecb5ae3edd600c204ac) for restricted boltzmann machines and deep belief networks.

@lisitsyn Please take a look
typo fucntion should be function.