Use vector instead of array for program sources