Update 04-basic-declarations-and-definitions.md
Update 04-basic-declarations-and-definitions.md

Reverted the claimed result values of the example in the section on repeated parameters and changed the code of the example method instead.
scala/scala,felixmulder/scala,martijnhoekstra/scala,jvican/scala,shimib/scala,slothspot/scala,slothspot/scala,shimib/scala,scala/scala,jvican/scala,scala/scala,slothspot/scala,shimib/scala,slothspot/scala,scala/scala,martijnhoekstra/scala,lrytz/scala,scala/scala,lrytz/scala,martijnhoekstra/scala,shimib/scala,slothspot/scala,lrytz/scala,felixmulder/scala,jvican/scala,lrytz/scala,shimib/scala,felixmulder/scala,shimib/scala,martijnhoekstra/scala,jvican/scala,slothspot/scala,martijnhoekstra/scala,jvican/scala,lrytz/scala,martijnhoekstra/scala,slothspot/scala,felixmulder/scala,felixmulder/scala,jvican/scala,felixmulder/scala,jvican/scala,felixmulder/scala,scala/scala,lrytz/scala