spi library from atmel adjusted

spi library adjusted so that 2 bytes can be sent