Added problems #7 & #8, small bugfix on prime.c, and modified problem #5 to double computational speed.