Changed the loop in the filter alg
Changed to LinkedList in filter alg
Merge branch 'test-new-filter-alg'