Commented all code

All code has comments to help understanding.