Checks in Hamcrest style were done

HW9