Added function to generate sample.

Uses names and ranges (with defaults) to generate sample counts for all
recorded types of algae.