A balloon sort with graphical output (using graphics.h)