Updated incorrect comments.
Improved hash linking and improved code readability. Some grammar fixes as well.