Improved and wrote additional program comments.