Added comments to each line. Finished assignment.