Actually, I know pascal much better..but since pascal's blue screen reminds everyone of BSOD, I told I'm going to do it in java.It doesn't matter so much I think

I'll see it tomorrow, since it's a bit late in my time zone...Thanks again for helping me (: