scala practice with fibonacci example