Project Euler.

Add solutions to problems 50 and 55.