Project Euler 237 - Tours on a 4 X N Playing Board

Official link: https://projecteuler.net/problem=237