Duel #3 week 3

Final commit with updated code, flowchart, and comments