updated readme with description of how to use this code