Create BooleanFunction.py

Boolean function in Python