Adding a Java version of the housing cost program