Python code for Raspberry Pi and TM1638 module (8 char, 7 seg display, 16 buttons)