continue working on Problem class: add reading methods