Added prtm solution
Added revp solution