Added unit test and documentation for function square_set_to_string.