Added the solution for level 7.
Added the solution for level 8