A* algorithm implementation with GUI in Qt 4.6