For my computer science class.  This does some math for rental properties