Just trying to solve some problems from Project Euler again