Exercise 5.6 - a silly and perhaps seductive example of assembly-level optimization