Modified and renamed 'debug' function to 'dbg'

It collided with 'debug' table. Silly I am.
Implemented basic collision detection between actors.

Collision resolution still must be implemented, though.