added boiler plate main routine
implemented problem #2
implemented pe3; added timer to boiler plate
implement pe#4
implemented pe#5
implemented pe#6
implemented pe#7; the sieve method doesn't work though
implemented pe#8
fixed a couple of bugs in pe#8