Judge orders Baltimore City prison to produce plan for improvement