added explanation comments to the parts that were tested in the exam