Added comments to problem8.pl

Signed-off-by: Andrew Coomes <ajc@ajcdrift.com>