Euler Problem 18 Maximum Path Sum I