Fully working toy with array of pointers to objects and passing to
functions and updating pointer array