homework 1 (draw random card) complete