pie chart with 2 modes; plot sum of all rows or only one row

Pie chart with 2 modes, color of segments are random generated.
1) Plot using sum of all columns by default
example: python bdv.py -p=pie
example: python bdv.py -p=pie --element=0

2) Plot using one row
example: python bdv.py -p=pie --elment=2
elment=2 means plot pie chart by using second row of 2d-array