Added theory part.

Added part to briefly introduce the theory behind the demo.