A qdp++ implementation of su(N) puregauge code to generate gauge configurations with open BC