Project Euler Problems 1~3