Added comment to problem5.pl

Fixed comment formatting in problem4.pl

Signed-off-by: Andrew Coomes <ajc@ajcdrift.com>
Added comments to problem6.pl

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