solve for system of equation

This solves for systems of equations. So far it can solve for systems with two variables. May change it later to solve for systems of 3 as well