PRSM solved, code needs cleaning, TESTED, ACCEPTED