Make LogicUtil#removeDuplicates more efficient

Prevents expansion costs of the unique element ArrayList by making its initial size the size of the input Collection.
Signed-off-by: Ollie <o.dzineit@gmail.com>
Merge pull request #5 from DziNeIT/patch-1

Make LogicUtil#removeDuplicates more efficient