cleaning a bit and start coding!!!
functions that getting input
solving matrix
storing results
starting second function
check if solution is there
solve if it was not solved
fixing bugs
fixed comments