Implemented collision between entities.
Added buttloads of documentation.