Compound Interest calculator written in Elixir