type and classes exercises done