Bill Gates, the world's second-richest person, has announced that he was stepping down from the board of directors of Microsoft.