PathFind Intermediate challenge for the Reddit Daily Programmer