Refactored monte_carlo.hmtl. Added another demo for primality test using trial/division and FLT.