first version with thevenin equivalent working only for independent sources circuits