Slight change to docstrings
Changes to nextPrime

- Now returns 2 (int) rather than [2] (list) when [] is passed in
- Now for loop iterates through odd numbers only above primes[-1]
rather than all numbers above primes[-1]