Implemented polygon collision basics