Answers to problems 1-3 from Project Euler for The Odin Project