Update `examples.c` with network order.

Added some `htonl` examples to `examples.c`. Fixed the output path to
the `t` test directory.