Solve linear equations with integer coefficients (#281)

Solve linear equations with integer coefficients (#281)