a few solutions for Project Euler in c#