A random commit messages generator
Apply the BFS algorith to get the connection path between two nodes