Update GettingStarted.scala

Corrected to be the same as in the book, otherwise run-time error occurs.