Finished rope intranet

I wonder if there's a better algorithm for this... but still, not a bad
solution all in all. I didn't go back and optimize the alien language
yet, but I did let it process all the cases (it passed).