These are some examples of the code I have written.