add all_products function to Range. Also updated num_products to return
the count of all_products. Tests included