Implemented SAT collision detection, various helper structures for use in collision detection, unique pairs generator.