Im working on a project for school and am having a really hard time figuring out how to import and format a CSV file into a usable format. The CSV contains a movie name in the first column, and showtimes in the rows, so it would look something like this.

movie1, 7pm, 8pm, 9pm, 10pm

movie2, 5pm, 8pm

movie3, 3pm, 7pm, 10pm

I think I want to split each row into its own array, maybe an arraylist of the arrays? I really dont know where to even start so any pointers would be appreciated.

Preferably dont want to use any external libraries.