Solver for Arrooow (https://itunes.apple.com/us/app/arrooow/id882165285?mt=8)