10. Gray code