Mortgage calculator using reactive programming