puzzle piece move by code implementation