added collision detection but only for x, y of the active square; next I will be adding abiliy to detect the edges;