Rewrote the 'Pure Python mode' tutorial and moved the 'Types' chapter to 'Language basics'.