Code for Alvin Alexander's book. Ebook ISBN:978-1-4493-4031-5