Uses A* Search to generate random passwords from a randomly generated grid