A Graph-Based Approach for the DNA Word Design Problem