Ruby script that demonstrates string array filtering using the class.each method implemented using method calls