Algorithms to Find Two-Hop Routing Policies in Multiclass Delay Tolerant Networks