able to send courses in strings and can extract

using arrays works nicely
passed needed parameters for 1st and second year