elegant way to convert list to hex string,"hex(int(''.join([str(int(b)) for b in walls]), 2))"