Changed Vector Class to collect arrays into ArrayList