Conversion of SOMA Algorithm into Complex Networks