Compound Interest calculation using integers alone