Fixing small mistake in task2.rb