Homework that practise A* algorithm learned in class