This is the coursework material that I produced over second year for both of the modules. Please don't plaigirise as you'll likely get caught and it's not a good look :).
If you have any questions about the code itself, send me a message and we can have a discussion!
Happy Coding!