-- started writing matrix class added algorithm to main

-- start of the program