added %
Made code modular (poor man's modular, but modular!).
Merge branch 'master' of https://github.com/thealah/ko-amort