added translating to pseudocode