Rudy O’Halloran said his life "changed" after learning a prison yard routine from a fellow inmate