add solutions for Gray-Code