Exercise on creating an interest calculator