Completed initial version of tile dragging / generation code