making progress on Proj Euler 19