Update prob24.go

Added comments for clarity