Modified wc to work with strings.
Made a test for fold.