combinatorics hw5. done