Working UART in simulation mode

Added an extra method (below) in the main file for reading and writing
away data in simulation mode.
Works in simulation mode using MPLAB IDE 8, with debugging tools.
Must be tested on PIC and software UART should be added