https://jzleetcode.github.io/posts/hackerrank-robot-walks-project-euler-208/