refactor code for 'a genre has many artists' and added gitignore file