a_star maps visited tiles to nodes