adding solution to step 7 albeit weird
pushing solution to step 8
solutions for steps 9 and 10