Added lib+main.sh and function IsPrime