Python implementation of Lamport's Fast mutual and Bakery Algorithm