added base collision detection and grid Movement