This is a study project. The goal was to implement the Composite Pattern in a real example.
ℹ️ For those who don't know the pattern, here's some info.
We basically want to treat part and whole objects uniformly. That's required when you're evaluating mathematical formulas containing parenthesis, in which you can treat the operations wrapped inside a pair of parenthesis as a formula on itself.