Sample codes for lecture #07