task 5 lab 3 and unit test
rewritten function with returning set of Integer for task 5 lab 3
TreeSet to ArrayList changed
Merge pull request #19 from vynychuck/Task5Lab3

task 5 lab 3 and unit test