v1.0, updated readme and added more comments to code