Ok.... after a couple of hours... I finally got a working code, now its time to shave \:\)

 Code:

Your solution passed all tests

KiXtart
KiXtart Version  = 4.60
KiXGolf Script   = kixgolf_cs.kix

KiXGolf Scoring Engine
Scoring Engine   = 3.3

KiXtart Golf Score
Tournament       = Check Scanning
Processing Start = 2008/04/15 23:06:51.381
Processing End   = 2008/04/15 23:06:51.403
Duration         = 0000/00/00 00:00:00.022
KiXGolf Score    = 980
 
Thank you for participating in KiXtart Golf!
_________________________
It's better to have scripted and died, then to never have scripted at all