Got the basic collision detection and transitioning between grid spaces