Theory of strings.

Signed-off-by: Morgan Deters <mdeters@cs.nyu.edu>