Euler14.

2,7GB RAM. Maybe optimise (mutable Map, instead of immutable!)