The finished code for hack week day 3