Basic collision detection for squares.

Signed-off-by: Malm