Learn to write algorithms