to jeff's solution: 18,13,5 seem to not add up to give a perfect square with their neighbors. I don't know how to solve this and was only trying to understand the solution. please pardon my ignorance if i missed something