wrote function for SPI connection of PIC1 to PIC2

wrote the function that sends over  the octagon data read from the txt
file in main.c