Added serial example to serial.hpp.