Contracts: Problems, Cases and Materials