Added soulution for Problem07
 through flatMap
Slightly simlify flattenRec version of Problem07.
Added tail-recursive solution for Problem07.
Reformat code.
Added iterative version for Problem07.