Designing and Implementing Electronic Auctions in a Multiagent System Environment