Updated the readme with instructions on how to addapt the code.