Added comments to line 4, 5 and 12.  Added condition to if statement with equality operator.