Make amount private

Dollar is only class which is using amount field, so it should be private.