On Wednesday, Maryland Attorney General Anthony G. Brown filed a lawsuit against RealPage, Inc. and six major landlords in Maryland, alleging they used algorithmic pricing and colluded to inflate rents, worsening the state’s affordable housing crisis and costing tenants millions of dollars.