C code for an RFID Card Reader on Rasperry Pi