Added appropriate comments to the work I've done so far.