Add logging and comments
Add logging and comments

0x326/academic-code-portfolio,0x326/academic-code-portfolio,0x326/academic-code-portfolio,0x326/academic-code-portfolio,0x326/academic-code-portfolio,0x326/academic-code-portfolio,0x326/academic-code-portfolio,0x326/academic-code-portfolio,0x326/academic-code-portfolio