added more positive tests (tests with and without duplicates),
fixed bugs, and
added linearSearch() and removeDuplicates() functions  to improve soucre code