Fix erroneous function brackets in README

The documentation code had some incorrect brackets. Cleaned it up.