Added psedocode in .txt