Distributed Optimal Control