added driver code to farm_simulator