Function to generate Dirichlet Boundary condition's vector