Create constant_and_loops.rb

 Implements a variety of "loops": while, for, each, retry if and if elseif