Statistical analysis of the patterns of spore formation in Bacillus subtilis