add a solution and accpet it