help with arrays

Can you post your actual code?

Pin zero is used for the serial interface.
Do you think that is wise?