added the original code and updated the readme file with the goals