Finish the TopSort and Improve the GQueue