Implemented parseAssignments. Passing unit tests.