Added rbm.py and makemachine.py

rbm.py:
- defines class RBM for creating restricted boltzmann machines
makemachine.py;
- uses RBM to create a two layer machine for facial recognition