created 8puzzle need to debug