My exercise coding in project Euler