before i screw everything up with interrupts
Working code, minor bug in mine placement as well as doesn't handle buttons via interrupts