Problem 2

Did problem 2.

Found a cool solution saying that every third number is even which could
significantly increase the program speed.