Implement dpa algoritm to implement dpa graph