def mode(data):
c = Counter(data)<EOL>mode, freq = c.most_common(<NUM_LIT:1>)[<NUM_LIT:0>]<EOL>return mode<EOL>
Return the modal value of a iterable with discrete values.

If there is more than 1 modal value, arbritrarily return the first top n.