Create uart.c

Serial communication code