initial commit with lyndon words and leader lection working