more generic solution to matchNestedElementOfList
Added test that required head tail pattern matching
added solution to matchNestedElementOfListWithHeadTailPatternMatching
changed target to match from list to parameter listOfList
Merge branch 'solutions'