Adds functionality to read problems from file.

Connectionist works just fine on the first problem file but
performs incorrectly on every single iteration on problem2...

We need to figure out why, if there's any explanation at all.