rename a parameter for more clarity
refactor the stats function.

It takes the type of crime to analyse as a parameter.
It accepts an arbitrary number data points in the crimeArray.