added solutions 17 and 18 (with brute force)
problem 18 with optimized buttom-up summation of max values