Code examples for the master thesis.