Implement genetic agent and random agent