Path Reinforcement

Hello, could you format the code like shown here, then I can copy/paste and test it for you: