created gui for barabasi