Code for use with a Raspberry Pi to provide limited acces to a room or safe with a magstrip reader and USB relay switch