Improved Code & Added Comments - Chanly gihapon ni hehe