Camera manufacturers are fond of advertising cameras by the number of megapixel they have. But what exactly is a megapixel and how does it affect photos?