Example added: variable passing

How to get a random number from the problems’ Python code to the
Javascript within. Also logs the student’s state on the official edX
log whenever they hit “Check”.