Rewrote parentList and numberOfChildren.
- Added tests for both