final version with comments.
Final version.
Added comments to final version.
Added Final version with comments.
Added final version.
Added final version with comments.
Added comments for final version.
Removed unnecessary function.