Python Turn Dictionary Into 2d Array