Fold states sudo code

This should be some basic sudo code for the fold states. We will need to
get info into the child neighbor, so we may want to pass that in as well