$7
Modify SelfAvoidingWalk.java to calculate and print the average length of the paths as well as the dead-end probability. Keep separate the average lengths of escape paths and dead-end paths.
Starting from: $7