Added prime functions of closest and next prime to algotest interface