Added python implementation of c++ nodes