Update vertex_cover.py

Fixed Bug executing MWVC for only unstructured to both directed and unstructured. The existing algorithm holds valid for both.