Added function for finding prime onions