Changes aStar to a function in preperation for repeated A*