Solved challenge 120
Slightly rewrote mergeOutlines for challenge 120