Added set_variable and get_variable methods. Example updated accordingly.
Merge pull request #7 from piotrek-r/master

Added set_variable and get_variable methods. Example updated accordingly.