Distributed Algorithms for Certain Assigment Problems