Initial try at problem #6 of Project Euler