Wpb chapt2

Using `Math.sqrt` for small values of `x`, such as `x < 100` will likely be less efficient than `x / 2`. (See [SO sqrt implementation](http://stackoverflow.com/a/825249) answer). @SimonGross, he doesn't need to worry about the case of `x = 2`, because `isPrime` defaults to true.