Fixed to collision bug, but now the program deletes two squares when they collide