Controlling Complex Networks - Implementation of Barabasi algorithms