Add more documents and put them under docs folder

Move existing documents to a docs folder and add ones for explaining
containers, while loops, and global and local variables.