Word problem parser/solver for finding a displacement vector