Direct Linear System Solver Using Row Reduction - Coding problem | OneNoughtOne