problems 18 and 67 (max triangle path)... algorithms are tricky