Complete 'Next prime number'