added sim_eqn.cpp

wrote some of the code for solving simultaneous equations. Not yet
complete. Doubt the class will work as expected but that can be changed
later if required.