Updated simple example code in readme (added totals)