Implemented boolean function
Done exercises and unit tests pass