C code for Othello logic to be run on a PIC24F microcontroller