First version of ex39
Missed a % operand for formatting at the end of the file
Converted all tabs to spaces and changed indent level to 2 (from 4)