Completed buildMusicArray() function (for now).