Rainforest (GA) interview question

Implement a function that determines the mode of an array of numbers