In this paragraph:
For my Spanish class in my junior year… um… we had to do a project that involved making a movie. And I had never worked with a video camera before ‘coz I never owned one. And my friend and I decided to do an action flick because that would be something fun. So I decided one day… the thought just came to me as I was brushing my hair that we could do a B-movie, horrible movie. And we could call it Attack of the Killer of Sombrero. And a sombrero is a big Mexican hat, so it worked in with my Spanish class.
The Longman dictionary says "work in" means to include something or to add something to another. However, I don't think that's correct. I guess "work in" in that context means to be suitable. Or I can write: "..., so it was suitable with my Spanish class".
Could you advise whether my guess is correct? Thanks.