Prototype of linear equations solver using matrices