first euler task solution