Solve 8 digit problom using A*