Classification of quasifinite representations of a Lie algebra related to Block type