Update sudokuSolver.rb

I figured out some conceptual problems with the use of arrays. I am going now to use hashes instead and try if I can fix most of the functions without completely rewriting them :-/