We're doing the standard lab 4 in the functional programming course, implementing a simple graphical calculator. In the first part when defining how to handle expression there are a lot of code from the slides that can be reused almost without any modification. Is it ok for us to use these code snippets as long as we are explicit about what we have written ourselves and what we essentially have copy pasted from the slides?