Sample code for Gaikai interview.