Added Q7 solution
Added Q7 alternate solution