Understanding Restricted Boltzmann Machines: A Primer for Beginners