Distributed Algorithms To Convex Optimization Problems