My Python helper functions for Project Euler problems