[UPDATE]: Updated Comments and Code Formatted.