Implemented 'findDistinctValues' function and it's unit test.