fixes mistake in the solution - answer now correct!
removes newline characters from the array
Merge pull request #10 from vabacumov/problem-8

fixes mistake in the solution - answer now correct!