One more euler problem done.