Translocation of Heterogeneous Polymers through a Nanopore