Last changes in Ruby code
Problem 2 solved;
Problem 1 improved to use Java 8 Streams;
pom.xml updated to use Java 8