next prime works with python 3.3.2