This melted my brain a bit, but it was really neat when I figured it out!
Thanks, glad you enjoyed it ;)