PHP and Javascript solutions to hard challenge #90 - Commuting Engineer (TSP - Traveling Salesman Problem - Brute force approach)