Implemented interection algorithms for Entity and Brush.
Implemented intersection methods for entity and group.