finished implementing pfor. WHOOOOOO