Inmates in a New York prison have filed a lawsuit