Algorithms for pre-microrna classification and a GPU program for whole genome comparison