moved example code from O'Reilly Media to Github