Solutions to challenges from Codewars.com, Codility.com, Hackerrank.com Run custom spec rspec spec/codility/lesson1-1-binary_gap_spec.rb