set up done implementing A*