Added tests and function for parentheticals assignment. Note that functi...

This meets the requirements we were given, but those requirements appear incomplete. The
function doesn't handle cases where the # of '(' and ')' are equal yet the string
is still invalid. For example, an input of ')(' returns '0' when to say the string
is "balanced" (0) is probably not what anyone would want to have happen.