Comments and Readme

Added Readme and commented the code a bit.