Impact of Media on Elections