Lab 5 Code

Made comments to the code.