Code examples for workshop at CEMC 2014 conference.