Fixed a divide-by-zero bug in Challenge #2