Various code samples taken from projects, coursework, etc