Learn algorithms and write 太和门