Merge pull request #1 from Allenardo/master

Merging devan's code after suggesting improvements.
Added clear total. Refactored Devan's code.
Trashed some files
Removed unnecessary code
Added license on readme
Merge pull request #1 from juanlizarazo/master

Updates!