Java code that works with MagTek SwipeCardReader