second week, astar, priorityqueue