Code for reading card and changing color of LED accordingly - will make code more accessible