In the first sentence, well is an adverb that modifies did. Well is the adverbial form of good, and in this case it means that what the speaker did, he did in a good way, with good results. When writing sentences like this, ensure that you know which word is being modified. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.