solving Hackerrank problems using ruby and rspec