New version with more comments and some changes in the steps.