tried to make the collisions work

tried many different codes and collision is not detected, no more ideas
on how to make it work..