Radhika Morabia's code for Project Euler.