SPI now fully working

SPi debugged