Vs 2013
rebuilt with pointers
adding repeating stuff
options

allow user to specify array length
error checks