Function added for asking if player wants to play again. Function works....

... Returns True or False.
You can use a while loop for the repeat. This is a common need. See this question for some ideas:

http://stackoverflow.com/questions/16328882/how-do-i-make-my-code-loop-if-the-users-input-is-incorrect