segmentation fault fixes
prime.c sort added