use ArrayList instead of array for the Numbers list