Implement ch01/tuples examples