Naive de Bruijn graph implementation in python