Python Turn Dictionary Into 2d Array Cppreference Make Pair