fix arrays for array reverse test
add standard methods like toString
fix large nums bug in average method