elegant way to convert list to hex string,"hex(sum(b << i for i, b in enumerate(reversed(walls))))"