Added another sample program from the XCB tutorial for printing event details.