(project-euler): add problem 1~4 solutions.