a demo about a-star algorithm