Update code to use collisionable class. Which is currently O(n^2)