changes made to use floating numbers - ex2.rb