Problem 18 - Define Value Arrays
Problem 18 - Initial attempt, although not correct answer.  Need to use sub-paths instead of just checking values in next array
Use Scala version that behaves with NetBeans better
Brute force method that solves 18