Scanner now uses ArrayList, which fixed some issues caused by indexes and sizing.