Completed spawnColumn function