Update 22-OO.scala

Fixed an unbound variable, likely a typo in the programm. Also removed unnecessary whitspace.