Hello everyone,

I am trying to solve the Inglenook puzzle, you can find the link here:
http://www.wymann.info/ShuntingPuzzles/Inglenook/inglenook-rules.html

Here I have pasted my algorithm and...