exploring code. practicing using assert_that. use separate functions for validating input values