Update maths.py

def prime with regex ;)