Reading file seems to be working perfectly…
Added class ProblemInstance - working reading instances from file.