Simple Google coding exercise from mid-2012