Among six suspects (C, D, G, H, J, T), two worked together to commit a murder.
H said C and G did it.
J said D and T did it.
D said T and C did it.
G said H and C did it.
C said D and J did it.
T refused to say anything.
Four of the five suspects that said anything named one person correctly and one person incorrectly. The fifth suspect that said something answered both people incorrectly.
Who commited the murder?
I encountered this puzzle a while ago through a friend of a friend but I'm not entirely sure how to approach this problem. I tried drawing a graph with six vertices in which (u, v) is an edge provided that person u accused person v. This was a hint to the puzzle. However, I can't really proceed from here.