fixing comments, and adding stuff

i added the beginning of one first dist algorithm, 4 variables, and i
fixed the comments.