Python solution for 16-led-clock