more work on the 8puzzle problem