did a bit of code golf with declarative syntax
Create a couple new possibilities for functions
Use is_prime to be consistent
Rewrite main loop using function and exceptions
Merge pull request #1 from ryanhiebert/code-golf

Some possibilities for rewrites of these functions