Added Q6 solution
Added Q6