Solution: 1. pwntools to receive data2. Breadth First Search algorithm which is explained here: http://bryukh.com/labyrinth-algorithms to find a way. 3. The list was in reversed order and the format was a bit more complicated to parse. See tower.py in linked git repo for solution!