Added comments and made small changes

Weight was renamed to money to allow greater values to have sense. We want this
due to the homework rule, that few of the searches need to be success and some
fail. When the people count is similar to the key range, this criterium is met.