Initial try at problem #5 of Project Euler