Refactored node composition => inheritance to improve performance
Refactored node composition => inheritance to improve performance

phetsims/fraction-matcher,phetsims/fraction-matcher,phetsims/fraction-matcher