convert list of booleans `walls` into a hex string,"hex(int(''.join([str(int(b)) for b in walls]), 2))"