Solved projecteuler_net/problem18_inplace.