SageMath This program writen with jupyter note book in sageMath application It is based on Discrete Mathematics and Its Applications: Kenneth H. Rosen With nvdsalehi 's help