completed algorithm problems and adjusted arrays.rb. all files working via rspec