title: Algorithm for system of 2 linear equations with 2 variables
body: <p>I've got a problem. I've come to the point where my app is able to solve simple system of 2 equations like this: </p>
  
  <pre><code>1x + 2y + 3 = 0, 2x + 3y + 4 = 0
  </code></pre>
  
  <p>I'm using elimination method. But what if one of the two numbers I want to multiply equation with equals 0? Then it would throw crap. Is there some algorithm to solve this without writing a couple of exceptions when a or b equals 0?
  Thank you very much in advance.</p>