A Useful Method to solve Your Assignment Problems