Works fine on my computer, no crashes or errors. It runs through without printing anything either.
I noticed you call graphics with the last parameter as -1, but check for it with the last parameter as 0, are they related?
I noticed you call graphics with the last parameter as -1, but check for it with the last parameter as 0, are they related?