Split basic_programs.md; add chapters about registers