An simulation of Adwords