Begin by studying our note on achieving program modularity by defining your own functions.
Write a string function that has no arguments, and returns the string "Heads" or "Tails" with equal probability. Use your function to write a coin program. When it is working, print a screen shot showing it running and a listing of all your code.