Branch and leaf classes for rows

Added 'branch' and 'leaf' classes for rows for convenient styling. Added tests for functions that mutate the table. Updated the index.html.