added factorial,prime test