Fixed bugs.
Searching for p(x<0) returned error (prob of this is 0). Prevent this by setting lower limit for x.

Searching for p(x>n) also returned error (prob of this is 0). Adjusted max x accordingly.