IsPrime using goroutines.