homework three for discrete mathematics 5148213