Solves 8 block sliding puzzle