More Documentation

Added more comments to make the code easier to understand