added usart init,recieve,flush,and send functions to main code, only configured for the usart0 port, however should be easy to create for usart1 port as well