add libevent timer example

add libevent timer example