js practice euler2, renamed py file for consistency