created new collision detection

- created new collision detection using polygons for pixels