Program to calculate interest and mortgages