@Test
public void shouldFindGrayCodeWhenNIs3() throws Exception {

    List<String> graySequence = P49.gray(3);
    assertThat(graySequence, contains("000", "001", "011", "010", "110", "111", "101", "100"));
}