ex4.1 - implement getOrElse, orElse, filter, functions