Create serial.cpp

not completed