Added calculate stops function plus aggregate all prompts into a run program function with total cost