Create is_prime

1. implement something by myself, and keep it for using in future.
2. implement: is_prime