Update on ex 3.43

finished exercise 3.43, albeit having to have used the auto keyword.
Couldn't figure out the correct types so far. Need to do that in the
future.