Separating specification out into its own file as its getting too big for he README. Spec now detail nesting data.
Fixing some of the psuedo-code in README.