random
Random
Reworded some variables and put comments so it's easier to follow.
Incorporate write-back to disk (I think I did it right)
Merge pull request #6 from st40611/master

Comments + rewrote some variables ... so it's easier to follow?