Fixed the merging code in TreeNode.
- The issue was that repeats were being created when children containing copies of the same thing were being merged together.
- Switched to LinkedLists for more efficient traversal, given that we do not require random access.
- Fixed the issue by writing a procedure to remove duplicates. The code, in a bid for efficiency, incorporates early-out checks so that any non-applicable cases do not get bogged down with duplicate removal. So the more expensive duplicate removal only gets called when there is a lot of overlap between partitions. The code will run smoothly unless there is a lot of overlap, I predict.
- Also finished writing the Camera's method of drawing the visible map.
Working on the collision