add python doc and pseudocode doc