project euler first problem resolved