begin assignment 2
begin assignment 2
added flipcount log
finished up to slide 52