Add toy.cpp from ch. 5
Link with -rdynamic to enable calling extern'd functions.