Finished task 1 subtask 2 A star weighted