https://browsegrades.net/singlePaper/194901/cs-70-discrete-mathematics-andprobability-theory-hw-10-worked-solutions