Added include
Added a primality check method.
reorg
delete some code
improved primality check method
more