Optimal Route Planning: A Brute Force Solution