Adding function to check for prime nos
Adding export for yagarto