Duel #3 week 3

Updated code and flowchart!