Exploring Immutable Arrays in Scala: A Deep Dive into Vectors